﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace ASPItalia.ModelVirtualCasting.WCF.Contracts
{

    [DataContract(Namespace = "http://schemas.aspitalia.com/ModelVirtualCasting/Services/Model")]
    [System.Data.Services.IgnoreProperties("Multimedia", "ExtensionData")]
    public class Model : IExtensibleDataObject
    {

        [DataMember(Name = "ID", Order = 0, IsRequired = true)]
        public Int32 ID { get; set; }

        [DataMember(Name = "FirstName", Order = 0, IsRequired = true)]
        public String FirstName { get; set; }

        [DataMember(Name = "LastName", Order = 0, IsRequired = true)]
        public String LastName { get; set; }

        [DataMember(Name = "Multimedia", Order = 0, IsRequired = false)]
        public Multimedia[] Multimedia { get; set; }

        [DataMember(Name = "EyeColor", Order = 0, IsRequired = true)]
        public String EyeColor { get; set; }

        [DataMember(Name = "HairColor", Order = 0, IsRequired = true)]
        public String HairColor { get; set; }

        [DataMember(Name = "ResidenceCity", Order = 0, IsRequired = true)]
        public String ResidenceCity { get; set; }

        #region IExtensibleDataObject Members

        public ExtensionDataObject ExtensionData
        {
            get;
            set;
        }

        #endregion
    }

}
